package org.example.springtransdemo.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.example.springtransdemo.entity.UserInfo;

@Mapper
public interface UserInfoMapper {
    @Insert("insert into user_info (user_name, `password`) value (#{userName}, #{password})")
    Integer insertUser(UserInfo userInfo);
}